﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:Panels="clr-namespace:GifToWebM.Panels" x:Class="_4chanManager.Panels.ThreadWatcherPanel" 
             mc:Ignorable="d" 
            d:DesignHeight="269" d:DesignWidth="564">
    <Grid>

        <Panels:LocalizationChooserPanel x:Name="pathWebAdress" DissableButton="True" Header="Http adress" HorizontalAlignment="Left" VerticalAlignment="Top"/>
        <Panels:LocalizationChooserPanel x:Name="pathDestination" Header="Destination folder" HorizontalAlignment="Left" Margin="0,104,0,0" VerticalAlignment="Top"/>

        <StackPanel>
            <Grid>
                <StackPanel Margin="10,204,319,39" Orientation="Horizontal" Height="26">
                    <Label Content="Extensions: " HorizontalAlignment="Left" VerticalAlignment="Top" Width="93"/>
                    <TextBox x:Name="txtExtensions" HorizontalAlignment="Left" Height="15" TextWrapping="Wrap" Text=".gif .webm .jpg" VerticalAlignment="Top" Width="131" Margin="0,7,0,0" FontSize="9"/>
                </StackPanel>
                <StackPanel Margin="364,233,10,10" Orientation="Horizontal">
                    <Label Content="Thread Status: " HorizontalAlignment="Left" VerticalAlignment="Top" Height="26" Width="83"/>
                    <TextBlock x:Name="txtStatus" HorizontalAlignment="Left" Margin="0,5,0,0" TextWrapping="Wrap" Text="unknown" VerticalAlignment="Top" Width="79"/>
                </StackPanel>
                <Button x:Name="btnStartStop" Content="Start" HorizontalAlignment="Left" Margin="10,233,0,0" VerticalAlignment="Top" Width="75" Click="btnStartStop_Click"/>
                <Slider x:Name="sliderRefresh" HorizontalAlignment="Left" Margin="415,213,0,0" VerticalAlignment="Top" Width="68" SmallChange="1" ValueChanged="sliderRefresh_ValueChanged" TickPlacement="BottomRight" Maximum="5" IsSnapToTickEnabled="True"/>
                <Label Content="Refresh " HorizontalAlignment="Left" Margin="345,208,0,0" VerticalAlignment="Top" Width="63"/>
                <Label x:Name="lblMinutes" Content="min" HorizontalAlignment="Left" Margin="488,207,0,0" VerticalAlignment="Top" Width="56"/>
                <Button x:Name="btnSaveExtensions" Content="Save Ext" HorizontalAlignment="Left" Margin="251,207,0,0" VerticalAlignment="Top" Width="52" Click="btnSaveExtensions_Click"/>
                <Button x:Name="btnSaveDestination" Content="Save destination folder" HorizontalAlignment="Left" Margin="104,235,0,0" VerticalAlignment="Top" Width="199" Click="btnSaveDestination_Click"/>

            </Grid>

        </StackPanel>


    </Grid>
</UserControl>
